from config.query_params_config import nowDay

# now = datetime.now()
# date_str = now.strftime("%Y-%m-%d")
date_str = nowDay
# date_str = '2024-01-05'
cwd = "D:\\scraping\\pythonProject"

# 直接从网站下载之后需要保存的地址
# 保存的文件夹
download_selenium_excel_file_prefix_url = f"{cwd}\\download_selenium_excel_file"
# 加上时间戳 区分是哪一天
download_selenium_excel_file_url = f"{download_selenium_excel_file_prefix_url}\\{date_str}"

# 处理过后保存的excel保存的地址
# 保存的文件夹
download_excel_file_prefix_url = f"{cwd}\\download_excel_file"
# 加上时间戳 区分是哪一天
download_excel_file_url = f"{download_excel_file_prefix_url}\\{date_str}"

total_excel_name = "汇总表.xlsx"

# 汇总表 某一天的
download_one_day_total_excel_file_url = f"{download_excel_file_url}\\{total_excel_name}"
# 汇总表 全部的
download_total_excel_all_file_url = f"{cwd}\\total_excel_file\\{total_excel_name}"

# 空白excel表格路径（国药为查询的数据是空的 不让导出）
download_empty_excel_file_url = f"{cwd}\\download_empty_excel_file"

# 日志
# 保存的文件夹
log_file_prefix_url = f"{cwd}\\logs\\log_file"
# 加上时间戳 区分是哪一天
log_file_url = f"{log_file_prefix_url}\\logs{date_str}.txt"
